﻿using System;

namespace Loki
{
    public interface ITask : IDisposable
    {
        Guid ID { get; }

        Action Run { get; }
    }

    public interface ITask<TArgument> : IDisposable
    {
        Guid ID { get; }

        Action<TArgument> Run { get; }
    }
}
